import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import dict from './modules/dict'
import user from './modules/user'
import tagsView from './modules/tagsView'
import permission from './modules/permission'
import settings from './modules/settings'
import getters from './getters'
import idc from './modules/cmdb/idc'
import employee from "@/store/modules/cmdb/employee";
import project from "@/store/modules/cmdb/project";
import ip from "@/store/modules/cmdb/ip";
import computer from "@/store/modules/cmdb/computer";
import vm from "@/store/modules/cmdb/vm";

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    dict,
    user,
    tagsView,
    permission,
    settings,
    idc,
    employee,
    project,
    ip,
    computer,
    vm,
  },
  getters
})

export default store
